package com.lixw.study.exp;

import lombok.Getter;

/**
 * @ClassName: BusinessException
 * @Description: 业务级异常
 * @Author: xuweiLi
 * @Create: 2025/7/31 09:51
 **/
@Getter
public class BusinessException extends RuntimeException{
    private final String code;/** 结果状态 ,具体状态码参见枚举类ReturnCodeEnum.java*/
    private final String message;

    public BusinessException(String code, String message)
    {
        this.code = code;
        this.message = message;
    }
}